home *** CD-ROM | disk | FTP | other *** search
- head 1.1;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.1
- date 88.06.27.17.24.06; author ouster; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @/*
- * cfree.c --
- *
- * Source code for the "cfree" library procedure.
- *
- * Copyright 1988 Regents of the University of California
- * Permission to use, copy, modify, and distribute this
- * software and its documentation for any purpose and without
- * fee is hereby granted, provided that the above copyright
- * notice appear in all copies. The University of California
- * makes no representations about the suitability of this
- * software for any purpose. It is provided "as is" without
- * express or implied warranty.
- */
-
- #ifndef lint
- static char rcsid[] = "$Header: proto.c,v 1.2 88/03/11 08:39:08 ouster Exp $ SPRITE (Berkeley)";
- #endif not lint
-
- #include <stdlib.h>
-
- /*
- *----------------------------------------------------------------------
- *
- * cfree --
- *
- * Free a block of storage allocated with calloc. Actually,
- * this routine is identical to free, and isn't really even
- * needed.
- *
- * Results:
- * None.
- *
- * Side effects:
- * Storage gets freed.
- *
- *----------------------------------------------------------------------
- */
-
- /* ARGSUSED */
-
- cfree(block, numElements, size)
- char *block; /* Address of block to be freed. */
- unsigned int numElements; /* Number of elements in block (not used). */
- unsigned int size; /* Size of each element (not used). */
- {
- free(block);
- }
- @
-